Skip to content

Remove keypad code, and were_pressed. #108

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 23, 2021

Conversation

kattni
Copy link
Contributor

@kattni kattni commented Jul 23, 2021

After discussion, it was decided to remove were_pressed altogether which eliminates the need for gamepad (deprecated) or keypad. This is an API BREAKING CHANGE, and will require a full version bump.

were_pressed is not used in any internal projects that I can find, so no example code is affected.

@kattni kattni requested a review from dhalbert July 23, 2021 17:23
@kattni kattni linked an issue Jul 23, 2021 that may be closed by this pull request
Copy link
Contributor

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

In the long-term we may provide some kind of access to button-press events via keypad, but that would be after CircuitPython 7.0.0 final.

@kattni kattni merged commit e0fecb6 into adafruit:main Jul 23, 2021
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Jul 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove uses of gamepad
2 participants